package com.gnerv.cms.config;

import com.gnerv.cms.chat.ChatService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ChatConfig {

    @Bean
    public void chatService(){
        new Thread(new ChatService()).start();
    }

}
